package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 社区活动中间
对象 tmc_activity_user
 * 
 * @author ruoyi
 * @date 2021-04-06
 */
public class TmcActivityUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 社区活动ID */
    @Excel(name = "社区活动ID")
    private Long activityId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long publicuserId;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String avatarurl;

    /** 报名人姓名 */
    @Excel(name = "报名人姓名")
    private String username;

    /** 报名人电话 */
    @Excel(name = "报名人电话")
    private String userphone;

    /** 状态0已报名，1已缴费 */
    @Excel(name = "状态0已报名，1已缴费")
    private Long state;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date Createtime;

    /**订单号*/
    @Excel(name = "订单号")
    private String outTradeNo;

    @Override
    public String toString() {
        return "TmcActivityUser{" +
                "id=" + id +
                ", activityId=" + activityId +
                ", publicuserId=" + publicuserId +
                ", avatarurl='" + avatarurl + '\'' +
                ", username='" + username + '\'' +
                ", userphone='" + userphone + '\'' +
                ", state=" + state +
                ", Createtime=" + Createtime +
                ", outTradeNo='" + outTradeNo + '\'' +
                '}';
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Long getPublicuserId() {
        return publicuserId;
    }

    public void setPublicuserId(Long publicuserId) {
        this.publicuserId = publicuserId;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Date getCreatetime() {
        return Createtime;
    }

    public void setCreatetime(Date createtime) {
        Createtime = createtime;
    }
}
